package com.zxjia.ssmp.doc;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ProductDoc  {


    private Integer id;


    private Integer productCateId;


    private String productName;


    private String sku;


    private String imgUrl;


    private Integer stock;


    private Integer sales;


    private BigDecimal mallMobilePrice;


    private BigDecimal originalPrice;


    private String description;
}